<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
    <title>Document</title>
</head>
<body>
    <div id="app">
        <h1>{{title}}</h1>
        <ul>
            <li v-for="item in list" :key="item.key">游戏名：{{item.name}}</li>
        </ul>
    </div>
    <script>

        const vm = new Vue({
            el:"#app",
            data() {
                return {
                    title:"Games",
                    list:[{
                        key:1,
                        name:"LOL",
                    },{
                        key:2,
                        name:"DNF",
                    },{
                        key:3,
                        name:"CF",
                    },{
                        key:4,
                        name:"DOTA",
                    }]
                }
            },
        })

    </script>
</body>
</html>